package com.vincent.template.dto.sys.authgroup;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Null;

/**
 * @author Vincent Wang
 * @date 2021/3/22 22:07
 */
public class AuthGroupDto {

    @ApiModelProperty(value = "权限组ID", hidden = true)
    @Null
    private Long id;

    @ApiModelProperty(value = "权限组Code")
    @NotBlank
    @Length(max = 64)
    private String code;

    @ApiModelProperty(value = "权限组描述")
    @Length(max = 128)
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
